export class Code {
  static Lab = 'lab'

  static Yjfx = 'yjfx'
  static Ryzc = 'ryzc'
  static Tdjs = 'tdjs'

  static Sysxw = 'sysxw'
  static Kycg = 'kycg'
  static Xsjl = 'xsjl'
  static Jszt = 'jszt'

  static moduleFormat (module) {
    switch (module) {
      case Code.Lab:
        return '实验室'
      case Code.Yjfx:
        return '研究方向'
      case Code.Ryzc:
        return '人员组成'
      case Code.Tdjs:
        return '团队建设'
      case Code.Sysxw:
        return '实验室新闻'
      case Code.Kycg:
        return '科研成果'
      case Code.Xsjl:
        return '学术交流'
      case Code.Jszt:
        return '技术杂谈'
      default:
        return '未知'
    }
  }
}
